Skip to content

ci: inline reusable workflows for public repository access - #33

Merged
notdodo merged 1 commit into
mainfrom
ci/inline-reusable-workflows
Nov 15, 2026
Merged

notdodo merged 1 commit into
mainfrom
ci/inline-reusable-workflows

Conversation

@notdodo

@notdodo notdodo commented Nov 15, 2026

Copy link
Copy Markdown
Member

Summary

CI called reusable workflows in the private DigintLab/github repository. Public repositories can't call private reusable workflows, so making this repository public would break every check. This PR defines the jobs here instead, copying what the upstream workflows did.

  • python-ci (3.13 and 3.14): task install, task check, task test, and uv build, with UV_LOCKED=1 to keep the lockfile check.
  • infra-scan: KICS scan with the upstream settings (fails on high or medium findings; PR comments, annotations, job summary).
  • actions-scan: actionlint through reviewdog (non-blocking, as upstream) and zizmor 1.32.0, which now blocks the build.
  • clean-branch-cache: deletes the merged PR's refs/pull/N/merge caches with gh cache, using actions: write only.

Each job sets least-privilege permissions: (workflow default {}). All actions are pinned to full SHAs, checkout uses persist-credentials: false, and the only token used is github.token.

Changes from upstream

  • security-events: write and SARIF upload are gone. Upstream had upload turned off for this caller, so nothing ever reached code scanning.
  • setup-uv installs Python and handles caching, replacing setup-python and the .venv cache. The SSH deploy-key steps are gone because this repository doesn't need them.
  • On fork PRs the token is read-only, so KICS and reviewdog PR comments may not post.

Validation

  • actionlint and zizmor pass locally. These workflows haven't run on GitHub yet; this PR's checks are their first run.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

kics-logo

KICS version: v2.2.1

Category Results
CRITICAL CRITICAL 0
HIGH HIGH 0
MEDIUM MEDIUM 0
LOW LOW 0
INFO INFO 0
TRACE TRACE 0
TOTAL TOTAL 0
Metric Values
Files scanned placeholder 2
Files parsed placeholder 2
Files failed to scan placeholder 0
Total executed queries placeholder 4
Queries failed to execute placeholder 0
Execution time placeholder 0

Queries Results

|
|

@notdodo
notdodo enabled auto-merge (squash) November 15, 2026 09:34
@notdodo
notdodo disabled auto-merge November 15, 2026 09:35
@notdodo
notdodo merged commit d394de9 into main Nov 15, 2026
@notdodo
notdodo deleted the ci/inline-reusable-workflows branch November 15, 2026 09:35
notdodo added a commit that referenced this pull request Nov 15, 2026
## Summary
- `requires-python` widened from `>=3.13,<3.15` to `>=3.13,<3.16`; added
the `Python :: 3.15` classifier.
- CI matrix now runs 3.13, 3.14, and 3.15.
- `uv.lock` relocked; the extra lines are the cp315 wheel entries. No
dependency version changes.
- README and CHANGELOG (Unreleased) updated.

## Validation
- Locally on CPython 3.15.2 with the `redaction` extra (spaCy and
presidio included): `mypy` strict is clean, and `pytest -m "not e2e"
--max-warnings=0` passes all 135 tests with no deprecation warnings.
- `task format check test` and `uv build` pass on the default
interpreter.

## Notes
- This conflicts textually with #33 (CI inlining) on the matrix line and
with #34 on the CHANGELOG `Unreleased` section. Whichever merges second
needs a one-line rebase.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant